import fly from "../utils/request.js";

export function loginAction(data){
	return fly.post('/authorizations',data)
}

export function fetchChannelsAction(){
	return fly.get('/user/channels')
}

export function fetchArticlesAction(data){
	return fly.get('/articles',data)
}

export function getUserInfoDataAction(){
	return fly.get('/user')
}